package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface ReMapper extends Mapper<Member> {
    @Select("SELECT COUNT(*) FROM t_member WHERE regTime <= #{month}")
    Long countByMonth(@Param("month") String endDate);
}
